package com.fdb.efp.esb.service.mock.hj;

import org.springframework.stereotype.Service;

import com.fdb.efp.esb.service.bo.req.hj.ReqVerificationFreezingAndThgBean;
import com.fdb.efp.esb.service.bo.resp.hj.RespVerificationFreezingAndThgBean;
import com.fdb.efp.esb.service.facade.hj.VerificationFreezingAndThgService;

/**
 * 
 * 冻结解冻查证接口
 * 
 * @author liyakui
 * @since 2019年1月8日 上午9:11:31
 * @version 1.0
 */
@Service("verificationFreezingAndThgService")
public class VerificationFreezingAndThgServiceImp implements VerificationFreezingAndThgService {

	@Override
	public RespVerificationFreezingAndThgBean verificationFreezingAndThg(
			ReqVerificationFreezingAndThgBean reqVerificationFreezingAndThgBean) throws Exception {
//		Logger logger = LoggerFactory.getLogger(VerificationFreezingAndThgServiceImp.class);
//		// 返回对象
//		RespVerificationFreezingAndThgBean respVerificationFreezingAndThgBean = null;
//		logger.info("原解冻流水号：" + reqVerificationFreezingAndThgBean.getOriFrzFlowNo() + "解冻冻结接口开始");
//		try {
//			// 1.调用ESB客户端服务
//			respVerificationFreezingAndThgBean = ESBClientFactory.buildClient().withBody(reqVerificationFreezingAndThgBean)
//					.withTradeNo("30330006").withScene("01").create().sendAndReceive().getBody(RespVerificationFreezingAndThgBean.class);
//			if ("0".equals(respVerificationFreezingAndThgBean.getRetCd()))
//				logger.info(
//						"解冻冻结接口调用成功！请求参数：" + reqVerificationFreezingAndThgBean + "***********返回结果:" + respVerificationFreezingAndThgBean);
//			else
//				logger.info("解冻冻结接口调用失败！返回结果：" + respVerificationFreezingAndThgBean);
//
//		} catch (Exception e) {
//			logger.info("解冻冻结接口调用失败！");
//			throw e;
//		}

		return new RespVerificationFreezingAndThgBean();

	}



}
